﻿<%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="pages_contents_Default"
  MasterPageFile="~/masterpages/codegen.master"
  Title="Template"
%>
<%@ Register tagprefix="uc" tagname="UCContents" src="~/pages/contents/usercontrols/UCContents.ascx" %>

<asp:Content ID="c" ContentPlaceHolderID="body" runat="server">
       <!-- Search Filters -->
    <table class="filters">
      <tr>
        <td>
            <asp:DropDownList ID="ddSet" runat="server" AutoPostBack="true" DataTextField="SetName_" DataValueField="SetId" OnSelectedIndexChanged="btnSearch_Click" />
        </td>
        <td>
            <asp:DropDownList ID="ddTemplate" runat="server" AutoPostBack="true" DataTextField="TemplateName" DataValueField="TemplateId" OnSelectedIndexChanged="btnSearch_Click" />
        </td>
        <td>
          <asp:Textbox ID="txtSearch" Runat="Server"/>
        </td>
        <td>
          <asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" />
        </td>
      </tr>
    </table>
    
   <!-- Search Results -->
    <uc:UCContents ID="ctrl" runat="server" />

</asp:Content>